package com.yh.service.impl;

import com.yh.pojo.City;
import com.yh.service.CityDubboService;
import org.apache.dubbo.config.annotation.Service;

@Service
public class CityDubboServiceImpl implements CityDubboService {
    @Override
    public City findCityByName(String cityName) {
        City city = new City();
        city.setId(1L);
        city.setDescription(cityName+ "是我的故乡");
        city.setProvinceId(3L);
        city.setCityName(cityName);
        return city;
    }
}
